<include file="public@header"/>
</head>
<body>
<div class="wrap js-check-wrap">
    <ul class="nav nav-tabs">
        <li><a href="{:url('AdminIndex/index')}">本站用户</a></li>
        <li class="active"><a href="{:url('AdminIndex/add')}">添加用户</a></li>
    </ul>
    <div class="row margin-top-20">
        <div class="col-md-2">
            <div class="list-group">
                <a class="list-group-item" href="#A" data-toggle="tab">用户信息</a>
              <!--  <a class="list-group-item" href="#B" data-toggle="tab">SEO设置</a>
                <a class="list-group-item" href="#C" data-toggle="tab">模板设置</a>-->
            </div>
        </div>
        <div class="col-md-6">
            <form class="js-ajax-form" action="{:url('AdminIndex/addPost')}" method="post">
                <div class="tab-content">
                    <div class="tab-pane active" id="A">
                        <div class="form-group">
                        <div class="form-group">
                                <label for="user_login"><span class="form-required">*</span>用户手机</label>
                                <div>
                                    <input type="text" class="form-control" id="user_login" name="user_login">
                                </div>
                        </div>
                        <div class="form-group">
                            <label for="user_pass"><span class="form-required">*</span>密码</label>
                            <div>
                                <input type="password" class="form-control" id="user_pass" name="user_pass">
                            </div>
                        </div>

                        <div class="form-group">
                            <label for="user_nickname">用户昵称</label>
                            <div>
                                <input type="text" class="form-control" id="user_nickname" name="user_nickname">
                            </div>
                        </div>


                        <div class="form-group">
                            <label for="user_nickname">用户头像</label>
                            <div>
                                <input type="hidden" name="avatar" class="form-control"
                                       id="js-thumbnail-input">
                                <div>
                                    <a href="javascript:uploadOneImage('图片上传','#js-thumbnail-input');">
                                        <img src="__TMPL__/public/assets/images/default-thumbnail.png"
                                             id="js-thumbnail-input-preview"
                                             width="135" style="cursor: pointer"/>
                                    </a>
                                </div>
                            </div>
                        </div>
                    </div>

                </div>
                <div class="form-group">
                    <button type="submit" class="btn btn-primary js-ajax-submit">{:lang('ADD')}</button>
                    <a class="btn btn-default" href="{:url('AdminIndex/index')}">{:lang('BACK')}</a>
                </div>
            </form>
        </div>
    </div>
</div>
<script type="text/javascript" src="__STATIC__/js/admin.js"></script>
</body>
</html>